import request from '@/utils/request'

export function queryTestTradeList(params) {
  return request({
    url: '/api/test/queryTestTradeList',
    method: 'get',
    params: params
  })
}
export function saveTestTrade(data) {
  return request({
    url: '/api/test/saveTestTrade',
    method: 'post',
    data
  })
}
export function updateTestTrade(data) {
  return request({
    url: '/api/test/updateTestTrade',
    method: 'post',
    data
  })
}
export function deleteTestTrade(params) {
  return request({
    url: '/api/test/deleteTestTrade',
    method: 'delete',
    params: params
  })
}
export function queryTestTradeDetail(params) {
  return request({
    url: '/api/test/queryAllFormByTestTradeId',
    method: 'get',
    params: params
  })
}
export function saveTestQuotation(data) {
  return request({
    url: '/api/test/saveTestQuotation',
    method: 'post',
    data
  })
}
export function saveTestApplication(data) {
  return request({
    url: '/api/test/saveTestApplicationForm',
    method: 'post',
    data
  })
}
export function saveTestWorkOrder(data) {
  return request({
    url: '/api/test/saveTestWorkOrder',
    method: 'post',
    data
  })
}
export function saveTestReport(data) {
  return request({
    url: '/api/test/saveTestReport',
    method: 'post',
    data
  })
}
